package com.evil.kingdom.pojo.dto.action;

import com.evil.kingdom.pojo.entity.base.SideName;
import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * 建立模拟战场
 *
 * @author liyang
 * @date 2024-07-01 15:39
 */
@Getter
@Setter
public class BattlefieldDto implements SideName, Serializable {

    /**
     * 进攻主帅
     */
    @NotBlank(message = "进攻主帅不能为空")
    private String offensiveName;

    /**
     * 防守主帅
     */
    @NotBlank(message = "防守主帅不能为空")
    private String defensiveName;
}
